﻿using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using VoL.Domain.IServices;
using VOL.Core.Utilities;

namespace VOL.WebApi.Controllers
{
    /// <summary>
    /// 评估护理
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class PatientReCordController : ControllerBase
    {
        private readonly IPatientService _patientService;
        private readonly IPatientReCordService _patientReCordService;

        public PatientReCordController( IPatientReCordService patientReCordService)
        {
            _patientReCordService = patientReCordService;
        }
        /// <summary>
        /// 评估列表查询
        /// </summary>
        /// <param name="bedCode"></param>
        /// <returns></returns>
        [HttpGet]
        public Task<WebResponseContent> GetPatientReCord(string bedCode)
        {
            return _patientReCordService.GetPatientReCord(bedCode);
        }
    }
}
